package com.wang.cloud.manage.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wang.cloud.common.mysql.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 系统-角色信息表
* </p>
*
* @author wy
* @since 2024-07-15
*/
@Getter
@Setter
@TableName("sys_role")
@Schema(name = "RoleEntity", description = "系统-角色信息表")
public class RoleEntity extends BaseEntity {

    @Schema(description = "角色名称")
    @TableField("role_name")
    private String roleName;

    @Schema(description = "角色权限字符串")
    @TableField("role_key")
    private String roleKey;

    @Schema(description = "显示顺序")
    @TableField("role_sort")
    private Integer roleSort;

    @Schema(description = "角色状态（0正常 1停用）")
    @TableField("status")
    private String status;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;
}
